package com.ray.com.ray.demo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ray on 2017/5/18.
 */
public class Book implements Serializable {

    private static final long serialVersionUID = 8334733752523340255L;

    private String bookName;

    private double price;

    private Book next;

    private List<Book> bookList;

    public List<Book> getBookList() {
        return bookList;
    }

    public void setBookList(List<Book> bookList) {
        this.bookList = bookList;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Book getNext() {
        return next;
    }

    public void setNext(Book next) {
        this.next = next;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", price=" + price +
                '}';
    }
}
